package com.anti.modular.owner.ownerleasebilladjust.param;

import com.anti.commom.pojo.BaseParam;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.math.BigDecimal;

/**
* 业主账单表调整表参数类
 *
 * @author anti
 * @date 2021-05-20 14:27:27
*/
@Data
public class OwnerLeaseBillAdjustParam extends BaseParam {

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空，请检查id参数", groups = {edit.class, delete.class, detail.class})
    private Long id;

    /**
     * 业主账单主键
     */
    @NotNull(message = "业主账单主键不能为空，请检查leaseBillId参数", groups = {add.class, edit.class})
    private Long leaseBillId;

    /**
     * 租金调整(字典 1 涨  2 降)
     */
    @NotNull(message = "租金调整(字典 1 涨  2 降)不能为空，请检查adjustType参数", groups = {add.class, edit.class})
    private Integer adjustType;

    /**
     * 租金方式(字典 1 金额  2 百分比)
     */
    @NotNull(message = "租金方式(字典 1 金额  2 百分比)不能为空，请检查adjustStyle参数", groups = {add.class, edit.class})
    private Integer adjustStyle;

    /**
     * 调整值
     */
    @NotNull(message = "调整值不能为空，请检查changeMoney参数", groups = {add.class, edit.class})
    private BigDecimal changeMoney;

    /**
     * 调整为
     */
    @NotNull(message = "调整为不能为空，请检查rent参数", groups = {add.class, edit.class})
    private BigDecimal rent;

    /**
     * 状态（字典 0正常 1注銷 2刪除）
     */
    @NotNull(message = "状态（字典 0正常 1注銷 2刪除）不能为空，请检查status参数", groups = {add.class, edit.class})
    private Integer status;

}
